package com.scorpio.chatnotify.domain;

import com.scorpio.common.core.domain.BaseEntity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.scorpio.common.annotation.Excel;

/**
 * 自动打招呼对象 biz_auto_greet
 *
 * @author scorpio
 * @date 2020-10-10
 */
@Data
@TableName("biz_auto_greet")
public class AutoGreetEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    private Long id;

    /**
     * 回复内容
     */
    @Excel(name = "回复内容")
    private String content;

    /**
     * 针对性别 1=男,2=女
     */
    @Excel(name = "针对性别 1=男,2=女")
    private String atSex;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("content", getContent())
                .append("atSex", getAtSex())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
